const { app, BrowserWindow } = require("electron")

// 创建窗口
app.on("ready", () => {
  const mainWindow = new BrowserWindow({
    width: 800,
    height: 600,
  })
  mainWindow.loadURL("http://localhost:8080");
})